import Vuex from 'vuex';
import Vue from 'vue';
import setting from './setting.js';
import banner from './banner.js';
import about from './about.js';
import project from './project.js';

// Vue.use(Vuex);
if (!window.Vuex) {
    // 没有使用传统的方式引入Vuex
    Vue.use(Vuex);
}
export default new Vuex.Store({
    modules: {
        banner,
        setting,
        about,
        project
    },
    strict: true

})